project('tutorial', 'c')
module_inc = include_directories('../../inc/')
module_srcdir = '../../src/'
module_srcs = files([
  module_srcdir + 'account.c',
  module_srcdir + 'sql.c',
  module_srcdir + 'email.c',
  ])
cairo_dep = dependency('cairo')
glib_dep = dependency('glib-2.0')
gtk_dep = dependency('gtk+-3.0')
mosquitto_dep = dependency('libmosquitto')
sqlite3_dep = dependency('sqlite3')
json_glib_dep = dependency('json-glib-1.0')
executable('template', 'main.c', module_srcs,
  #build_rpath : '/home/imch/ts/lib',
  #install_rpath : '/home/imch/ts/lib',
  include_directories: [module_inc],
  dependencies : [glib_dep, json_glib_dep, mosquitto_dep, sqlite3_dep])
